<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>[linux]samba安装及使用 - Never Give Up</title>
  <meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>

<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<meta name="theme-color" content="#f8f5ec" />
<meta name="msapplication-navbutton-color" content="#f8f5ec">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec">


<meta name="author" content="ZhangKQ" /><meta name="description" content="smb安装及使用 一.smb安装及配置 1.源码安装smb并使用 安装Samba 1 2 #安装Samba包 yum -y install samba samba-client samba-common 创建samba用户 1 2 3 4 5 6 groupadd" /><meta name="keywords" content="linux, smb, samba" />






<meta name="generator" content="Hugo 0.92.0 with theme even" />


<link rel="canonical" href="https://blog.nevergiveup.tech/post/linux/tools/smb%E5%AE%89%E8%A3%85%E5%8F%8A%E4%BD%BF%E7%94%A8/" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">



<link href="/sass/main.min.b5a744db6de49a86cadafb3b70f555ab443f83c307a483402259e94726b045ff.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">


<meta property="og:title" content="[linux]samba安装及使用" />
<meta property="og:description" content="smb安装及使用 一.smb安装及配置 1.源码安装smb并使用 安装Samba 1 2 #安装Samba包 yum -y install samba samba-client samba-common 创建samba用户 1 2 3 4 5 6 groupadd" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://blog.nevergiveup.tech/post/linux/tools/smb%E5%AE%89%E8%A3%85%E5%8F%8A%E4%BD%BF%E7%94%A8/" /><meta property="article:section" content="post" />
<meta property="article:published_time" content="2021-03-11T15:37:56+08:00" />
<meta property="article:modified_time" content="2022-02-10T16:37:56+08:00" />

<meta itemprop="name" content="[linux]samba安装及使用">
<meta itemprop="description" content="smb安装及使用 一.smb安装及配置 1.源码安装smb并使用 安装Samba 1 2 #安装Samba包 yum -y install samba samba-client samba-common 创建samba用户 1 2 3 4 5 6 groupadd"><meta itemprop="datePublished" content="2021-03-11T15:37:56+08:00" />
<meta itemprop="dateModified" content="2022-02-10T16:37:56+08:00" />
<meta itemprop="wordCount" content="1219">
<meta itemprop="keywords" content="linux,smb,samba," /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="[linux]samba安装及使用"/>
<meta name="twitter:description" content="smb安装及使用 一.smb安装及配置 1.源码安装smb并使用 安装Samba 1 2 #安装Samba包 yum -y install samba samba-client samba-common 创建samba用户 1 2 3 4 5 6 groupadd"/>

<!--[if lte IE 9]>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script>
<![endif]-->

<!--[if lt IE 9]>
  <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
<![endif]-->

</head>
<body>
  <div id="mobile-navbar" class="mobile-navbar">
  <div class="mobile-header-logo">
    <a href="/" class="logo">Never Give Up</a>
  </div>
  <div class="mobile-navbar-icon">
    <span></span>
    <span></span>
    <span></span>
  </div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
  <ul class="mobile-menu-list">
    <a href="/">
        <li class="mobile-menu-item">主页</li>
      </a><a href="/post/">
        <li class="mobile-menu-item">归档</li>
      </a><a href="/tags/">
        <li class="mobile-menu-item">标签</li>
      </a><a href="/categories/">
        <li class="mobile-menu-item">分类</li>
      </a><a href="/remark/">
        <li class="mobile-menu-item">随言碎语</li>
      </a><a href="/about/">
        <li class="mobile-menu-item">关于</li>
      </a>
  </ul>

  


</nav>

  <div class="container" id="mobile-panel">
    <header id="header" class="header">
        <div class="logo-wrapper">
  <a href="/" class="logo">Never Give Up</a>
</div>





<nav class="site-navbar">
  <ul id="menu" class="menu">
    <li class="menu-item">
        <a class="menu-item-link" href="/">主页</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/post/">归档</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/tags/">标签</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/categories/">分类</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/remark/">随言碎语</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/about/">关于</a>
      </li>
  </ul>
</nav>

    </header>

    <main id="main" class="main">
      <div class="content-wrapper">
        <div id="content" class="content">
          <article class="post">
    
    <header class="post-header">
      <h1 class="post-title">[linux]samba安装及使用</h1>

      <div class="post-meta">
        <span class="post-time"> 2021-03-11 </span>
        <div class="post-category">
            <a href="/categories/linux/"> linux </a>
            </div>
          <span class="more-meta"> 约 1219 字 </span>
          <span class="more-meta"> 预计阅读 3 分钟 </span>
        
      </div>
    </header>

    <div class="post-toc" id="post-toc">
  <h2 class="post-toc-title">文章目录</h2>
  <div class="post-toc-content always-active">
    <nav id="TableOfContents">
  <ul>
    <li><a href="#smb安装及使用">smb安装及使用</a>
      <ul>
        <li><a href="#一smb安装及配置">一.smb安装及配置</a>
          <ul>
            <li><a href="#1源码安装smb并使用">1.源码安装smb并使用</a></li>
            <li><a href="#2docker安装smb并使用">2.docker安装smb并使用</a></li>
          </ul>
        </li>
      </ul>
    </li>
  </ul>
</nav>
  </div>
</div>
    <div class="post-content">
      <h1 id="smb安装及使用">smb安装及使用</h1>
<h2 id="一smb安装及配置">一.smb安装及配置</h2>
<h3 id="1源码安装smb并使用">1.源码安装smb并使用</h3>
<ul>
<li>安装Samba</li>
</ul>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="c1">#安装Samba包</span>
yum -y install samba samba-client samba-common
</code></pre></td></tr></table>
</div>
</div><ul>
<li>创建samba用户</li>
</ul>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash">groupadd samba
useradd samba -d /home/samba -g samba -s /sbin/nologin
touch /etc/samba/smbpasswd
smbpasswd -a samba -c /etc/samba/smb.conf

&gt;samba   //账号:samba 密码:samba
</code></pre></td></tr></table>
</div>
</div><ul>
<li>配置共享目录</li>
</ul>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash">mkdir -p /workspace

<span class="c1">#设置文件夹权限,非777客户端无法写入数据</span>
chmod -R <span class="m">777</span> /workspace
</code></pre></td></tr></table>
</div>
</div><ul>
<li>配置smb</li>
</ul>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span><span class="lnt">20
</span><span class="lnt">21
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash">vim /etc/samba/smb.conf

<span class="o">[</span>global<span class="o">]</span>
        <span class="nv">workgroup</span> <span class="o">=</span> WORKGROUP
        netbios <span class="nv">name</span> <span class="o">=</span> WINDOWS-6VQ5K0D
        server <span class="nv">string</span> <span class="o">=</span> this is a samba server
        log <span class="nv">file</span> <span class="o">=</span> /var/log/samba/log.%m
        max log <span class="nv">size</span> <span class="o">=</span> <span class="m">51200</span>
        <span class="nv">security</span> <span class="o">=</span> user
        passdb <span class="nv">backend</span> <span class="o">=</span> tdbsam
        load <span class="nv">printing</span> <span class="o">=</span> no

<span class="o">[</span>workspace<span class="o">]</span>
        <span class="nv">comment</span> <span class="o">=</span> Workspace Home Directories
        <span class="nv">path</span> <span class="o">=</span> /workspace
        <span class="nv">writable</span> <span class="o">=</span> yes
        <span class="nv">browseable</span> <span class="o">=</span> yes
        guest <span class="nv">ok</span> <span class="o">=</span> no

<span class="c1">#检查配置文件正确性</span>
testparm
</code></pre></td></tr></table>
</div>
</div><ul>
<li>配置文件说明</li>
</ul>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span><span class="lnt">20
</span><span class="lnt">21
</span><span class="lnt">22
</span><span class="lnt">23
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="c1">#1.全局部分参数设置：</span>
<span class="o">[</span>global<span class="o">]</span>
        <span class="c1">#与主机名相关的设置</span>
        <span class="nv">workgroup</span> <span class="o">=</span> zkhouse  &lt;<span class="o">==</span>工作组名称
        netbios <span class="nv">name</span> <span class="o">=</span> zkserver   &lt;<span class="o">==</span>主机名称，跟hostname不是一个概念，在同一个组中，netbios name必须唯一
        <span class="nv">serverstring</span> <span class="o">=</span> this is a <span class="nb">test</span> samba server &lt;<span class="o">==</span>说明性文字，内容无关紧要
        <span class="c1">#与登录文件有关的设置</span>
        log <span class="nv">file</span> <span class="o">=</span> /var/log/samba/log.%m   &lt;<span class="o">==</span>日志文件的存储文件名，%m代表的是client端Internet主机名，就是hostname
        max log <span class="nv">size</span> <span class="o">=</span> <span class="m">50</span>      &lt;<span class="o">==</span>日志文件最大的大小为50Kb
        <span class="c1">#与密码相关的设置</span>
        <span class="nv">security</span> <span class="o">=</span> share       &lt;<span class="o">==</span>表示不需要密码，可设置的值为share、user和server
        passdb <span class="nv">backend</span> <span class="o">=</span> tdbsam
        <span class="c1">#打印机加载方式</span>
        load <span class="nv">printer</span> <span class="o">=</span> no &lt;<span class="o">==</span>不加载打印机
-----------------------------------------------------------
<span class="c1">#2.共享资源设置方面：将旧的注释掉，加入新的</span>
<span class="c1">#先取消[homes]、[printers]的项目，添加[temp]项目如下</span>
<span class="o">[</span>temp<span class="o">]</span>              &lt;<span class="o">==</span>共享资源名称
        <span class="nv">comment</span> <span class="o">=</span> Temporary file space &lt;<span class="o">==</span>简单的解释，内容无关紧要
        <span class="nv">path</span> <span class="o">=</span> /tmp     &lt;<span class="o">==</span>实际的共享目录
        <span class="nv">writable</span> <span class="o">=</span> yes    &lt;<span class="o">==</span>设置为可写入
        <span class="nv">browseable</span> <span class="o">=</span> yes   &lt;<span class="o">==</span>可以被所有用户浏览到资源名称，
        guest <span class="nv">ok</span> <span class="o">=</span> yes    &lt;<span class="o">==</span>可以让用户随意登录
</code></pre></td></tr></table>
</div>
</div><ul>
<li>
<p>开启139、445端口</p>
<p>SAMBA有4个端口，TCP的139，445，UDP的137，138</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash">firewall-cmd --add-port<span class="o">=</span>139/tcp --permanent
firewall-cmd --add-port<span class="o">=</span>445/tcp --permanent
firewall-cmd --reload
firewall-cmd --list-all
</code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>启动服务</p>
</li>
</ul>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash">sudo systemctl <span class="nb">enable</span> smb
sudo systemctl start smb
</code></pre></td></tr></table>
</div>
</div><ul>
<li>windows客户端挂载</li>
</ul>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="c1">#映射网络驱动器</span>
此计算机-&gt;右击-&gt;映射网络驱动器
<span class="c1">#账号:samba 密码:samba</span>
<span class="se">\\</span>ip<span class="se">\目</span>录
<span class="se">\\</span>10.0.8.116<span class="se">\w</span>orkspace
</code></pre></td></tr></table>
</div>
</div><ul>
<li>
<p>如果无法访问共享文件夹</p>
<ul>
<li>
<p>关闭firewalld防火墙</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell">systemctl stop firewalld
</code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>关闭SELinux 或者放开SELinux权限</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="c1">#临时关闭</span>
setenforce <span class="m">0</span>

<span class="c1">#或者授权smb访问权限</span>
/usr/sbin/setsebool -P samba_export_all_rw on
</code></pre></td></tr></table>
</div>
</div></li>
</ul>
</li>
</ul>
<h3 id="2docker安装smb并使用">2.docker安装smb并使用</h3>
<ul>
<li>
<p>前置准备,安装docker</p>
</li>
<li>
<p>开启139、445端口</p>
<p>SAMBA有4个端口，TCP的139，445，UDP的137，138</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash">firewall-cmd --add-port<span class="o">=</span>139/tcp --permanent
firewall-cmd --add-port<span class="o">=</span>445/tcp --permanent
firewall-cmd --reload
firewall-cmd --list-all
</code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>配置共享目录</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash">mkdir -p /workspace

<span class="c1">#设置文件夹权限,非777客户端无法写入数据</span>
chmod -R <span class="m">777</span> /workspace
</code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>容器运行samba镜像</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="c1">#官方镜像</span>
https://hub.docker.com/r/dperson/samba/
<span class="c1"># 运行</span>
docker run -it -p 139:139 -p 445:445  --name samba  <span class="se">\
</span><span class="se"></span> -v /workspace:/mount <span class="se">\
</span><span class="se"></span> -d dperson/samba <span class="se">\
</span><span class="se"></span> -u <span class="s2">&#34;root;root&#34;</span> <span class="se">\
</span><span class="se"></span> -s <span class="s2">&#34;root;/mount/;yes;no;yes;all;all;all&#34;</span> <span class="se">\
</span><span class="se"></span> -w <span class="s2">&#34;WORKGROUP&#34;</span> <span class="se">\
</span><span class="se"></span> -g <span class="s2">&#34;force user= root&#34;</span> <span class="se">\
</span><span class="se"></span> -g <span class="s2">&#34;guest account= root&#34;</span>

<span class="c1">#注意: -u &#34;用户名:密码&#34;</span>
</code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>windows客户端挂载</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="c1">#映射网络驱动器</span>
此计算机-&gt;右击-&gt;映射网络驱动器
<span class="se">\\</span>ip<span class="se">\目</span>录
<span class="se">\\</span>10.0.8.116<span class="se">\w</span>orkspace
</code></pre></td></tr></table>
</div>
</div></li>
</ul>

    </div>

    <div class="post-copyright">
  <p class="copyright-item">
    <span class="item-title">文章作者</span>
    <span class="item-content">ZhangKQ</span>
  </p>
  <p class="copyright-item">
    <span class="item-title">上次更新</span>
    <span class="item-content">
        2022-02-10
        
    </span>
  </p>
  
  
</div>
<div class="post-reward">
  <input type="checkbox" name="reward" id="reward" hidden />
  <label class="reward-button" for="reward">赞赏支持</label>
  <div class="qr-code">
    
    <label class="qr-code-image" for="reward">
        <img class="image" src="/qrcode/wechat-qr-code.jpg">
        <span>微信打赏</span>
      </label>
    <label class="qr-code-image" for="reward">
        <img class="image" src="/qrcode/alipay-qr-code.jpg">
        <span>支付宝打赏</span>
      </label>
  </div>
</div><footer class="post-footer">
      <div class="post-tags">
          <a href="/tags/linux/">linux</a>
          <a href="/tags/smb/">smb</a>
          <a href="/tags/samba/">samba</a>
          </div>
      <nav class="post-nav">
        <a class="prev" href="/post/db/mysql/mysql%E9%94%81%E8%A1%A8%E5%A4%84%E7%90%86%E5%91%BD%E4%BB%A4%E5%BD%92%E7%BA%B3/">
            <i class="iconfont icon-left"></i>
            <span class="prev-text nav-default">[mysql]mysql锁表处理命令归纳</span>
            <span class="prev-text nav-mobile">上一篇</span>
          </a>
        <a class="next" href="/post/dev_language/golang/golang%E5%AE%89%E8%A3%85%E5%92%8C%E9%85%8D%E7%BD%AE/">
            <span class="next-text nav-default">[go] golang安装和配置</span>
            <span class="next-text nav-mobile">下一篇</span>
            <i class="iconfont icon-right"></i>
          </a>
      </nav>
    </footer>
  </article>
        </div>
        

  

  

      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="social-links">
      <a href="mailto:wdyxzkq@163.com" class="iconfont icon-email" title="email"></a>
      <a href="https://github.com/dysoso" class="iconfont icon-github" title="github"></a>
      <a href="https://gitee.com/dysoso" class="iconfont icon-gitlab" title="gitlab"></a>
  <a href="https://blog.nevergiveup.tech/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
</div>

<div class="copyright">
  <span class="power-by">
    由 <a class="hexo-link" href="https://blog.nevergiveup.tech/">blog.nevergiveup.tech</a> 强力驱动
  </span>
  <span class="division">|</span>
  <span class="theme-info">
    主题 - 
    <a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
  </span>

  

  <span class="copyright-year">
    &copy; 
    2021 - 
    2022<span class="heart"><i class="iconfont icon-heart"></i></span><span><a href="https://beian.miit.gov.cn/">蜀ICP备2021005948号-1</a></span>
  </span>
</div>

    </footer>

    <div class="back-to-top" id="back-to-top">
      <i class="iconfont icon-up"></i>
    </div>
  </div>
  
  <script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>



<script type="text/javascript" src="/js/main.min.c99b103c33d1539acf3025e1913697534542c4a5aa5af0ccc20475ed2863603b.js"></script>


<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
	window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
	ga('create', 'never-give-up', 'auto');
	ga('set', 'anonymizeIp', true);
	ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>







</body>
</html>
